package com.itheima.health.dao;

import com.itheima.health.pojo.Setmeal;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * PROJECT_NAME: teamwork-health-system
 * NAME: MobileDao
 * USER: zhang
 * DATE: 2023/6/6
 * DESCRIPTION :
 */
@Mapper
public interface MobileDao {
    /**
     * 查询全部套餐信息
     * @return 套餐List集合
     */
    List<Setmeal> selectAllSetmeal();

    /**
     * 根据套餐Id查看套餐详情
     *
     * @param id 套餐Id
     * @return 全局通用返回信息Bean(Setmeal)
     */
    Setmeal selectSetmealById(@Param("id") Integer id);
}
